package com.svms.save.entitys;

import java.util.ArrayList;
import java.util.List;

public class SvdaZwxccglExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public SvdaZwxccglExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andObjectidIsNull() {
            addCriterion("objectid is null");
            return (Criteria) this;
        }

        public Criteria andObjectidIsNotNull() {
            addCriterion("objectid is not null");
            return (Criteria) this;
        }

        public Criteria andObjectidEqualTo(Long value) {
            addCriterion("objectid =", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidNotEqualTo(Long value) {
            addCriterion("objectid <>", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidGreaterThan(Long value) {
            addCriterion("objectid >", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidGreaterThanOrEqualTo(Long value) {
            addCriterion("objectid >=", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidLessThan(Long value) {
            addCriterion("objectid <", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidLessThanOrEqualTo(Long value) {
            addCriterion("objectid <=", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidIn(List<Long> values) {
            addCriterion("objectid in", values, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidNotIn(List<Long> values) {
            addCriterion("objectid not in", values, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidBetween(Long value1, Long value2) {
            addCriterion("objectid between", value1, value2, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidNotBetween(Long value1, Long value2) {
            addCriterion("objectid not between", value1, value2, "objectid");
            return (Criteria) this;
        }

        public Criteria andZwxbhIsNull() {
            addCriterion("zwxbh is null");
            return (Criteria) this;
        }

        public Criteria andZwxbhIsNotNull() {
            addCriterion("zwxbh is not null");
            return (Criteria) this;
        }

        public Criteria andZwxbhEqualTo(String value) {
            addCriterion("zwxbh =", value, "zwxbh");
            return (Criteria) this;
        }

        public Criteria andZwxbhNotEqualTo(String value) {
            addCriterion("zwxbh <>", value, "zwxbh");
            return (Criteria) this;
        }

        public Criteria andZwxbhGreaterThan(String value) {
            addCriterion("zwxbh >", value, "zwxbh");
            return (Criteria) this;
        }

        public Criteria andZwxbhGreaterThanOrEqualTo(String value) {
            addCriterion("zwxbh >=", value, "zwxbh");
            return (Criteria) this;
        }

        public Criteria andZwxbhLessThan(String value) {
            addCriterion("zwxbh <", value, "zwxbh");
            return (Criteria) this;
        }

        public Criteria andZwxbhLessThanOrEqualTo(String value) {
            addCriterion("zwxbh <=", value, "zwxbh");
            return (Criteria) this;
        }

        public Criteria andZwxbhLike(String value) {
            addCriterion("zwxbh like", value, "zwxbh");
            return (Criteria) this;
        }

        public Criteria andZwxbhNotLike(String value) {
            addCriterion("zwxbh not like", value, "zwxbh");
            return (Criteria) this;
        }

        public Criteria andZwxbhIn(List<String> values) {
            addCriterion("zwxbh in", values, "zwxbh");
            return (Criteria) this;
        }

        public Criteria andZwxbhNotIn(List<String> values) {
            addCriterion("zwxbh not in", values, "zwxbh");
            return (Criteria) this;
        }

        public Criteria andZwxbhBetween(String value1, String value2) {
            addCriterion("zwxbh between", value1, value2, "zwxbh");
            return (Criteria) this;
        }

        public Criteria andZwxbhNotBetween(String value1, String value2) {
            addCriterion("zwxbh not between", value1, value2, "zwxbh");
            return (Criteria) this;
        }

        public Criteria andGlbhIsNull() {
            addCriterion("glbh is null");
            return (Criteria) this;
        }

        public Criteria andGlbhIsNotNull() {
            addCriterion("glbh is not null");
            return (Criteria) this;
        }

        public Criteria andGlbhEqualTo(String value) {
            addCriterion("glbh =", value, "glbh");
            return (Criteria) this;
        }

        public Criteria andGlbhNotEqualTo(String value) {
            addCriterion("glbh <>", value, "glbh");
            return (Criteria) this;
        }

        public Criteria andGlbhGreaterThan(String value) {
            addCriterion("glbh >", value, "glbh");
            return (Criteria) this;
        }

        public Criteria andGlbhGreaterThanOrEqualTo(String value) {
            addCriterion("glbh >=", value, "glbh");
            return (Criteria) this;
        }

        public Criteria andGlbhLessThan(String value) {
            addCriterion("glbh <", value, "glbh");
            return (Criteria) this;
        }

        public Criteria andGlbhLessThanOrEqualTo(String value) {
            addCriterion("glbh <=", value, "glbh");
            return (Criteria) this;
        }

        public Criteria andGlbhLike(String value) {
            addCriterion("glbh like", value, "glbh");
            return (Criteria) this;
        }

        public Criteria andGlbhNotLike(String value) {
            addCriterion("glbh not like", value, "glbh");
            return (Criteria) this;
        }

        public Criteria andGlbhIn(List<String> values) {
            addCriterion("glbh in", values, "glbh");
            return (Criteria) this;
        }

        public Criteria andGlbhNotIn(List<String> values) {
            addCriterion("glbh not in", values, "glbh");
            return (Criteria) this;
        }

        public Criteria andGlbhBetween(String value1, String value2) {
            addCriterion("glbh between", value1, value2, "glbh");
            return (Criteria) this;
        }

        public Criteria andGlbhNotBetween(String value1, String value2) {
            addCriterion("glbh not between", value1, value2, "glbh");
            return (Criteria) this;
        }

        public Criteria andYwlbIsNull() {
            addCriterion("ywlb is null");
            return (Criteria) this;
        }

        public Criteria andYwlbIsNotNull() {
            addCriterion("ywlb is not null");
            return (Criteria) this;
        }

        public Criteria andYwlbEqualTo(String value) {
            addCriterion("ywlb =", value, "ywlb");
            return (Criteria) this;
        }

        public Criteria andYwlbNotEqualTo(String value) {
            addCriterion("ywlb <>", value, "ywlb");
            return (Criteria) this;
        }

        public Criteria andYwlbGreaterThan(String value) {
            addCriterion("ywlb >", value, "ywlb");
            return (Criteria) this;
        }

        public Criteria andYwlbGreaterThanOrEqualTo(String value) {
            addCriterion("ywlb >=", value, "ywlb");
            return (Criteria) this;
        }

        public Criteria andYwlbLessThan(String value) {
            addCriterion("ywlb <", value, "ywlb");
            return (Criteria) this;
        }

        public Criteria andYwlbLessThanOrEqualTo(String value) {
            addCriterion("ywlb <=", value, "ywlb");
            return (Criteria) this;
        }

        public Criteria andYwlbLike(String value) {
            addCriterion("ywlb like", value, "ywlb");
            return (Criteria) this;
        }

        public Criteria andYwlbNotLike(String value) {
            addCriterion("ywlb not like", value, "ywlb");
            return (Criteria) this;
        }

        public Criteria andYwlbIn(List<String> values) {
            addCriterion("ywlb in", values, "ywlb");
            return (Criteria) this;
        }

        public Criteria andYwlbNotIn(List<String> values) {
            addCriterion("ywlb not in", values, "ywlb");
            return (Criteria) this;
        }

        public Criteria andYwlbBetween(String value1, String value2) {
            addCriterion("ywlb between", value1, value2, "ywlb");
            return (Criteria) this;
        }

        public Criteria andYwlbNotBetween(String value1, String value2) {
            addCriterion("ywlb not between", value1, value2, "ywlb");
            return (Criteria) this;
        }

        public Criteria andCzsjIsNull() {
            addCriterion("CZSJ is null");
            return (Criteria) this;
        }

        public Criteria andCzsjIsNotNull() {
            addCriterion("CZSJ is not null");
            return (Criteria) this;
        }

        public Criteria andCzsjEqualTo(String value) {
            addCriterion("CZSJ =", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjNotEqualTo(String value) {
            addCriterion("CZSJ <>", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjGreaterThan(String value) {
            addCriterion("CZSJ >", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjGreaterThanOrEqualTo(String value) {
            addCriterion("CZSJ >=", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjLessThan(String value) {
            addCriterion("CZSJ <", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjLessThanOrEqualTo(String value) {
            addCriterion("CZSJ <=", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjLike(String value) {
            addCriterion("CZSJ like", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjNotLike(String value) {
            addCriterion("CZSJ not like", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjIn(List<String> values) {
            addCriterion("CZSJ in", values, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjNotIn(List<String> values) {
            addCriterion("CZSJ not in", values, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjBetween(String value1, String value2) {
            addCriterion("CZSJ between", value1, value2, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjNotBetween(String value1, String value2) {
            addCriterion("CZSJ not between", value1, value2, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzbsIsNull() {
            addCriterion("CZBS is null");
            return (Criteria) this;
        }

        public Criteria andCzbsIsNotNull() {
            addCriterion("CZBS is not null");
            return (Criteria) this;
        }

        public Criteria andCzbsEqualTo(String value) {
            addCriterion("CZBS =", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsNotEqualTo(String value) {
            addCriterion("CZBS <>", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsGreaterThan(String value) {
            addCriterion("CZBS >", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsGreaterThanOrEqualTo(String value) {
            addCriterion("CZBS >=", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsLessThan(String value) {
            addCriterion("CZBS <", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsLessThanOrEqualTo(String value) {
            addCriterion("CZBS <=", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsLike(String value) {
            addCriterion("CZBS like", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsNotLike(String value) {
            addCriterion("CZBS not like", value, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsIn(List<String> values) {
            addCriterion("CZBS in", values, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsNotIn(List<String> values) {
            addCriterion("CZBS not in", values, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsBetween(String value1, String value2) {
            addCriterion("CZBS between", value1, value2, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzbsNotBetween(String value1, String value2) {
            addCriterion("CZBS not between", value1, value2, "czbs");
            return (Criteria) this;
        }

        public Criteria andCzrIsNull() {
            addCriterion("CZR is null");
            return (Criteria) this;
        }

        public Criteria andCzrIsNotNull() {
            addCriterion("CZR is not null");
            return (Criteria) this;
        }

        public Criteria andCzrEqualTo(String value) {
            addCriterion("CZR =", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrNotEqualTo(String value) {
            addCriterion("CZR <>", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrGreaterThan(String value) {
            addCriterion("CZR >", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrGreaterThanOrEqualTo(String value) {
            addCriterion("CZR >=", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrLessThan(String value) {
            addCriterion("CZR <", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrLessThanOrEqualTo(String value) {
            addCriterion("CZR <=", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrLike(String value) {
            addCriterion("CZR like", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrNotLike(String value) {
            addCriterion("CZR not like", value, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrIn(List<String> values) {
            addCriterion("CZR in", values, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrNotIn(List<String> values) {
            addCriterion("CZR not in", values, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrBetween(String value1, String value2) {
            addCriterion("CZR between", value1, value2, "czr");
            return (Criteria) this;
        }

        public Criteria andCzrNotBetween(String value1, String value2) {
            addCriterion("CZR not between", value1, value2, "czr");
            return (Criteria) this;
        }

        public Criteria andCzdwIsNull() {
            addCriterion("CZDW is null");
            return (Criteria) this;
        }

        public Criteria andCzdwIsNotNull() {
            addCriterion("CZDW is not null");
            return (Criteria) this;
        }

        public Criteria andCzdwEqualTo(String value) {
            addCriterion("CZDW =", value, "czdw");
            return (Criteria) this;
        }

        public Criteria andCzdwNotEqualTo(String value) {
            addCriterion("CZDW <>", value, "czdw");
            return (Criteria) this;
        }

        public Criteria andCzdwGreaterThan(String value) {
            addCriterion("CZDW >", value, "czdw");
            return (Criteria) this;
        }

        public Criteria andCzdwGreaterThanOrEqualTo(String value) {
            addCriterion("CZDW >=", value, "czdw");
            return (Criteria) this;
        }

        public Criteria andCzdwLessThan(String value) {
            addCriterion("CZDW <", value, "czdw");
            return (Criteria) this;
        }

        public Criteria andCzdwLessThanOrEqualTo(String value) {
            addCriterion("CZDW <=", value, "czdw");
            return (Criteria) this;
        }

        public Criteria andCzdwLike(String value) {
            addCriterion("CZDW like", value, "czdw");
            return (Criteria) this;
        }

        public Criteria andCzdwNotLike(String value) {
            addCriterion("CZDW not like", value, "czdw");
            return (Criteria) this;
        }

        public Criteria andCzdwIn(List<String> values) {
            addCriterion("CZDW in", values, "czdw");
            return (Criteria) this;
        }

        public Criteria andCzdwNotIn(List<String> values) {
            addCriterion("CZDW not in", values, "czdw");
            return (Criteria) this;
        }

        public Criteria andCzdwBetween(String value1, String value2) {
            addCriterion("CZDW between", value1, value2, "czdw");
            return (Criteria) this;
        }

        public Criteria andCzdwNotBetween(String value1, String value2) {
            addCriterion("CZDW not between", value1, value2, "czdw");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}